package cn.wzy.pojo;

import java.util.Date;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
 * (User)表实体类
 *
 * @author makejava
 * @since 2023-02-06 16:25:41
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_user_user")
public class User{
    @TableId(type = IdType.AUTO)
    private Long id;
    
    private String username;
    
    private String email;
    
    private String phone;
    //盐值
    private String salt;
    //密码，md5加密加盐
    private String password;
    //已注册 已激活 禁用
    private Integer state;
    
    private Integer age;
    
    private Date createtime;
    
    private String headimg;
    
    private Long logininfoId;
}

